#! /bin/bash
#系统软件 Freelens-bin wasmedge
go install github.com/kubecolor/kubecolor@latest

# rbac-wizard 权限可视化
go install github.com/pehlicd/rbac-wizard@latest

go install github.com/yannh/kubeconform/cmd/kubeconform@latest
# k8s='kubecolor helm kustomize acorn-cli-git'
k8s='helm kustomize k8sgpt-git k9s'
get_tool() {
  k8s=$k8s
  for i in $k8s; do
    paru -S --needed $i --noconfirm
  done
}
get_timoni() {
  go install github.com/stefanprodan/timoni/cmd/timoni@latest
}

get_k3d() {
  go install github.com/k3d-io/k3d/v5@latest
}

{
  # get_k3d
  # get_timoni
  get_tool
  # get_acorn
}
